package com.example.happiness.mapper;

import com.example.happiness.pojo.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AdminMapper {
    int deleteByPrimaryKey(String manageid);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(String manageid);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);

    @Select("select manageid from admin")
    List<String> getAdminId();
}